//
//  RSController.h
//  RemoteSay
//
//  Created by Jan Lehnardt on 16/03/2007.
//  Copyright 2007 Jan Lehnardt. All rights reserved.
// Hours: 6

#import <Cocoa/Cocoa.h>


@interface RSController : NSObject {
	IBOutlet NSComboBox *target;
	IBOutlet NSTextField *message;
	IBOutlet NSWindow *window;
	IBOutlet NSView *background;
	IBOutlet NSTextField *history;
	
	NSNetServiceBrowser * browser;
	NSMutableArray *services;
	NSMutableArray *historyData;
	NSMutableString *historyDataString;
	
}

-(IBAction)sayRemote:(id)sender;

-(void)launchServer:(id)object;
-(void)remoteSay:(NSData *)address;
-(void)updateHistory;


-(int)numberOfItemsInComboBox:(NSComboBox *)aComboBox;
-(id)comboBox:(NSComboBox*)aComboBox objectValueForItemAtIndex:(int)index;
-(unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)string;
@end
